% DATA Generation (TO BE editted by Santiago)
% n = dimension, p = order
% load('../Data/cycle_graph.mat');
clear all;
cd SyntheticData
generate;
cd ..
p = 2;
% x = X';
clear X;

[N,n] = size(x);
C = windowed_est(x, p);

ic_fun = @bic;
[B_opt, nonzero_inds_opt, max_ic_val] = search_topologies(C, n, p, N, ic_fun);
